package com.neusoft.resturant.mapper;

import com.neusoft.resturant.entity.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface SysUserMapper {

    @Select("select user_id, dept_id, user_name, nick_name, email, avatar, phonenumber, password, sex, status from sys_user where user_name = #{userName}")
    SysUser selectUserByUserName(String userName);

}